package com.dadie.Domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alon
 * @since 2021-01-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_shop_order")
public class ShopOrderDomain implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 积分商城订单id
     */
    @TableId(value = "shop_order_id",type = IdType.ASSIGN_ID)
    private String shopOrderId;

    private String userId;

    private String userName;

    private String userAddress;

    private String userPhone;

    private Integer goodsTotal;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    /**
     * 1待发货/2待收货/3完成订单
     */
    private Integer shopOrderStatus;


}
